package com.wsx.ones.boots.bean;

import lombok.Getter;

/**
 * Created by wangshuaixin on 18/6/15.
 */
public class Message {

    @Getter private final String payload;
    @Getter private final long id;

    public Message(String payload, long id) {
        this.payload = payload;
        this.id = id;
    }

    @Override
    public String toString() {
        return "Message{" + "payload='" + payload + '\'' + ", id=" + id + '}';
    }
}
